﻿using Curry.Forum.Command.Domain.Core;
using Curry.Forum.Command.Domain.IRepository.Interpace;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Curry.Forum.Command.Domain.Service
{
    public  class ArticleService
    {
        private IArticleRepo _articleRepo;
        public ArticleService(IArticleRepo articleRepo)
        {
            _articleRepo = articleRepo;
        }

        public void CreateArticleModel(Article model)
        {
            _articleRepo.CreateArticle(model);
        }
    }
}
